# $Id: Portfile 30237 2007-10-23 01:46:57Z jmpp@macports.org $ PortSystem 1.0 name lp_solve version 5.5.0.9 categories math platforms darwin maintainers nomaintainer description Linear Programming Solver long_description Mixed Integer Linear Programming (MILP) solver. \ lp_solve solves pure linear, (mixed) integer/binary, \ semi-continuous and special ordered sets (SOS) models. \ lp_solve is written in ANSI C and can be compiled on \ many different platforms like Mac OS X, Linux and Windows. homepage http://lpsolve.sourceforge.net/5.5/ master_sites sourceforge:lpsolve distname ${name}_${version}_source worksrcdir ${name}_5.5 checksums md5 8c2823c8dc3d4cb80b7510b1d500635d \ sha1 f780dcd60a1eeac66210d4b715c50373217176c6 \ rmd160 e5fbe8a01508165ecea069dcb71f4ba658edf341 use_configure no set worksrcpath ${workpath}/${worksrcdir} build.cmd cd ${worksrcpath}/lpsolve55/ && sh ./ccc.osx && \ cd ${worksrcpath}/lp_solve/ && sh ./ccc.osx build.args {} destroot { xinstall -m 755 -W ${worksrcpath}/lpsolve55 \ liblpsolve55.a liblpsolve55.dylib ${destroot}${prefix}/lib xinstall -m 755 -W ${worksrcpath}/lp_solve \ lp_solve ${destroot}${prefix}/bin }